package com.project.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "此实体类封装了返回值结果，包括状态码与返回值消息...")
public class ResultVo {

    @ApiModelProperty(value = "状态码",hidden = false,dataType = "Integer")
    private Integer code;

    @ApiModelProperty(value = "响应消息",hidden = false,dataType = "String")
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "ResultVo{" +
                "code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
